package com.lqq.demo2;

import com.lqq.demo2.Student;

public class test {
    public static void main(String[] args) {
        Student lqq = new Student();
        System.out.println(lqq.name);
        System.out.println(lqq.sex);
        System.out.println(lqq.age);
        System.out.println(lqq.weight);
        System.out.println(lqq.height);

        lqq.name = "刘其铨";
        lqq.age = 23;
        lqq.sex = '男';
        lqq.height = 1.80;
        lqq.weight = 81.5;
        System.out.println("姓名: " + lqq.name + "\n年龄： " + lqq.age + "\n性别： " + lqq.sex + "\n身高： " + lqq.height + "\n体重：" + lqq.weight);

        lqq.study();
    }
}
